import { createRequest } from '/@/api/service';
const module = 'ib/base/v1/AppScheduleAttendanceRecord/';

/**
 * @function APP考勤记录列表
 * @param data
 * @param header
 * @returns {Promise}
 */
function APP_SCHEDULE_ATTENDANCE_RECORD_LIST(
  data: AppScheduleAttendanceRecord.AppScheduleAttendanceRecordReq,
  header: object = {},
): Promise<AppScheduleAttendanceRecord.AppScheduleAttendanceRecordResp> {
  return createRequest(
    `${process.env.APP_API_URL}${module}appScheduleAttendanceRecordList`,
    data,
    header,
    'POST',
  );
}

export { APP_SCHEDULE_ATTENDANCE_RECORD_LIST };
